dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8efff20
)
Don't use $wgTitle here, as it would return an invalid trackback URL for any instance...
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 11 Sep 2008 19:38:57 +0000
(19:38 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 11 Sep 2008 19:38:57 +0000
(19:38 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
5ef8507
..
fae7775
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-3154,10
+3154,10
@@
class Title {
* @return \type{\string} Trackback URL
*/
public function trackbackURL() {
- global $wg
Title, $wg
ScriptPath, $wgServer;
+ global $wgScriptPath, $wgServer;
return "$wgServer$wgScriptPath/trackback.php?article="
- . htmlspecialchars(urlencode($
wgTitle
->getPrefixedDBkey()));
+ . htmlspecialchars(urlencode($
this
->getPrefixedDBkey()));
}
/**